.el-color-picker {
    display: inline-block;
    height: 32px;
    line-height: normal;
    outline: none;
    position: relative;
    width: 32px
}

.el-color-picker:hover:not(.is-disabled, .is-focused) .el-color-picker__trigger {
    border-color: var(--el-border-color-hover)
}

.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger {
    outline: 2px solid var(--el-color-primary);
    outline-offset: 1px
}

.el-color-picker.is-focused .el-color-picker__trigger {
    border-color: var(--el-color-primary)
}

.el-color-picker.is-disabled .el-color-picker__trigger {
    background-color: var(--el-fill-color-light);
    cursor: not-allowed
}

.el-color-picker.is-disabled .el-color-picker__color {
    opacity: .3
}

.el-color-picker--large {
    height: 40px;
    width: 40px
}

.el-color-picker--small {
    height: 24px;
    width: 24px
}

.el-color-picker--small .el-color-picker__empty,
.el-color-picker--small .el-color-picker__icon {
    transform: scale(.8)
}

.el-color-picker__trigger {
    align-items: center;
    border: 1px solid var(--el-border-color);
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    font-size: 0;
    justify-content: center;
    padding: 4px
}

.el-color-picker__color,
.el-color-picker__trigger {
    box-sizing: border-box;
    height: 100%;
    position: relative;
    width: 100%
}

.el-color-picker__color {
    border: 1px solid var(--el-text-color-secondary);
    border-radius: var(--el-border-radius-small);
    display: block;
    text-align: center
}

.el-color-picker__color.is-alpha {
    background-image: linear-gradient(45deg, var(--el-color-picker-alpha-bg-a) 25%, var(--el-color-picker-alpha-bg-b) 25%), linear-gradient(135deg, var(--el-color-picker-alpha-bg-a) 25%, var(--el-color-picker-alpha-bg-b) 25%), linear-gradient(45deg, var(--el-color-picker-alpha-bg-b) 75%, var(--el-color-picker-alpha-bg-a) 75%), linear-gradient(135deg, var(--el-color-picker-alpha-bg-b) 75%, var(--el-color-picker-alpha-bg-a) 75%);
    background-position: 0 0, 6px 0, 6px -6px, 0 6px;
    background-size: 12px 12px
}

.el-color-picker__color-inner {
    align-items: center;
    display: inline-flex;
    height: 100%;
    justify-content: center;
    width: 100%
}

.el-color-picker .el-color-picker__empty {
    color: var(--el-text-color-secondary);
    font-size: 12px
}

.el-color-picker .el-color-picker__icon {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    font-size: 12px;
    justify-content: center
}

.el-color-picker__panel {
    background-color: #ffffff;
    border-radius: var(--el-border-radius-base);
    box-shadow: var(--el-box-shadow-light)
}

.el-color-picker__panel.el-popper {
    border: 1px solid var(--el-border-color-lighter)
}

.el-color-picker,
.el-color-picker__panel {
    --el-color-picker-alpha-bg-a: #ccc;
    --el-color-picker-alpha-bg-b: transparent
}

.dark .el-color-picker,
.dark .el-color-picker__panel {
    --el-color-picker-alpha-bg-a: #333333
}